<?php


namespace App\HttpController\Admin;


use App\Model\Admins\AdminsModel;
use EasySwoole\EasySwoole\Logger;

class User extends Auth {

    public function info(){
        //判断用户非法
        $model = new AdminsModel();
        $user = $model->user($this->token);
        return $this->writeJson(0,$user);
    }


    public function user(){
        $header = $this->request()->getHeaders();
        return $this->writeJson(0);
    }



}
